<?php
header('Content-Type: text/html; charset=utf-8'); 
include "./lib_dbconnection.php";

function getplan($plan_id) {
    $query_result = mysql_query( "select * from maps where place_id='$plan_id';" );
    if( $query_result ) {
	    $plan_text = mysql_result( $query_result, 0, "map_text" );
	    return $plan_text;
    }
}
?>
